﻿using NUnit.Framework;

namespace SilverlightCalculator.Tests
{
    [TestFixture]
    public class When_calculating_numbers
    {
        [Test]
        public void Should_be_able_to_add_two_numbers_together()
        {
            // Arrange
            Calculator calculator = new Calculator(); 

            // Act
            var result = calculator.Add(5, 5);

            //Assert            
            Assert.That(result, Is.EqualTo(10));            
        }
    }
}
